import React, {Component} from "react";
import {renderRoutes} from "react-router-config";
import './style.css';

class OtherControl extends Component {
    constructor(props) {
        super(props);
        /* 默认跳转 */
        this.props.history.push("/mine/admin/other-control/menu");
    }

    render() {
        return <div className={"ControlContainer"}>
            {
                renderRoutes(this.props.route.routes)
            }
        </div>
    }
}

export default OtherControl;
